// ResizableCircle 类，实现 Movable 和 Resizable 两个接口
public class ResizableCircle implements Movable, Resizable {
    private double radius; // 半径

    public ResizableCircle(double radius) {
        this.radius = radius;
    }

    @Override
    public void move() {
        System.out.println("The circle is moving.");
    }

    @Override
    public void stop() {
        System.out.println("The circle has stopped.");
    }

    @Override
    public void resize(double factor) {
        this.radius *= factor;
        System.out.println("The circle's new radius is: " + this.radius);
    }
}